<?php
/**
 * Created by PhpStorm.
 * User: clcw908
 * Date: 2016/12/26
 * Time: 16:45
 */
namespace AuctionBack\Model;

use Think\Model\RelationModel;

class RefundCarTraceLogModel extends RelationModel
{

    protected $trueTableName = 'au_refund_car_trace_log';

    /* 自动验证规则 */
    protected $_validate = array();

    /*
    * 模型自动完成
    */
    protected $_auto = array(
        array('create_time', 'timeNow', self::MODEL_INSERT, 'function')
    );

    protected $fields = array(
        'rc_id',//'车商id',
        'order_id',//'拍单号',
        'emp_id',//'操作人',
        'emp_name',//'操作人姓名',
        'action',//'操作内容',
        'remark',//'备注',
        '_pk' => 'rc_id',
        '_autoinc' => true
    );
}